package pers.zh.parking.data.entity;

public class Car {

    private Integer carId;

    private String carNo;

    private String carColor;

    private String carBrand;

    private String userId;

    private boolean toDel;

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public String getCarNo() {
        return carNo == null ? "" : carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo == null ? null : carNo.trim();
    }

    public String getCarColor() {
        return carColor == null ? "" : carColor;
    }

    public void setCarColor(String carColor) {
        this.carColor = carColor == null ? null : carColor.trim();
    }

    public String getCarBrand() {
        return carBrand == null ? "" : carBrand;
    }

    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand == null ? null : carBrand.trim();
    }

    public String getUserId() {
        return userId == null ? "" : userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public boolean isToDel() {
        return toDel;
    }

    public void setToDel(boolean toDel) {
        this.toDel = toDel;
    }
}
